﻿@model LetLord.ViewModels.BasicPropertySearchViewModel
@{
    ViewBag.Title = "LetLord - Advanced search for landlords and tenants";
}

<div class="hero-unit-home clearfix">
    <div class="row-fluid">
        <div class="span8">
            <p>Smarter searching for landlords and tenants</p>
        </div>
        <div class="span4">
            @Html.ActionLink("Sign up now with LetLord", "Register", "Account", routeValues: null, htmlAttributes: new { @class = "btn btn-large btn-primary", @id = "btn-sign-up" })
        </div>
    </div>
</div>
<div class="row-fluid">
    <ul class="nav nav-tabs">
        <li class="active">
            <a href="#quick-search" data-toggle="tab">Quick Search</a>
        </li>
        <li><a href="#advanced-search" data-toggle="tab">Advanced Search</a></li>
    </ul>
</div>
<div class="tab-content">
    <div class="tab-pane active" id="quick-search">
        <div class="row-fluid" id="quick-search-panel">
            <div class="span12">
                @Html.Action("QuickPropertySearchForm", "Search")
            </div>
        </div>
        <div class="row-fluid" id="quick-property-search-results">
            @Html.Action("GetAllProperties", "Search")
        </div>
    </div>
    <div class="tab-pane" id="advanced-search">
        <div class="row-fluid">
            <div class="span4 well-basic-search advanced-search">
                @Html.Action("AdvancedSearch", "Search")
            </div>
            <div class="span8" id="advanced-property-search-results">
                @Html.Action("GetAllPropertiesAdvancedSearch", "Search")
            </div>
        </div>
    </div>
</div>



